# !usr/bin/env python
# -*-coding:utf-8 -*-

# @FileName: urls.py
# @Author:tian
# @Time:04/29/2021

from django.urls import path
from main import views

urlpatterns = [
    path("index/",views.index),
    # 反向解析：即修改url不用去视图层更新函数名称，如下地址仍对应item函数功能
    # http://localhost:8000/main/item01/
    path("item01/",views.item,name="item"),
]

